package com.heying.mybatis.mapper;

import com.heying.mybatis.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {

    Teacher findById(Integer id);

    List<Teacher> findAllAndStudents();

}
